home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 23 / CU Amiga - Super CD-ROM 23 (June 1998).iso / CreatingGames / Utilities / Misc / GMS / GMSDev / Includes / system / tracking.i < prev    next >
Encoding:
Text File  |  1997-11-14  |  830 b   |  31 lines

  1.     IFND SYSTEM_TRACKING_I
  2. SYSTEM_TRACKING_I  SET  1
  3.  
  4. **
  5. **  $VER: tracking.i (November 1997)
  6. **
  7. **  (C) Copyright 1996-1997 DreamWorld Productions.
  8. **      All Rights Reserved.
  9. **
  10.  
  11.     IFND    DPKERNEL_I
  12.     include 'dpkernel/dpkernel.i'
  13.     ENDC
  14.  
  15. RES_EMPTY    =  0
  16. RES_MEMORY   =  1      ;Memory allocation, lowest level resource type.
  17. RES_COMPLEX  =  2      ;Complex allocation - (hardware and software).
  18. RES_CUSTOM   =  3      ;Software allocation of a customised type.
  19. RES_HARDWARE =  4      ;Hardware allocation.
  20.  
  21.    STRUCTURE    TRK,00
  22.     APTR    trk_Next       ;Next in the chain.
  23.     WORD    trk_ID         ;ID number of this resource (see above).
  24.     LONG    trk_Key        ;Unique key for the resource.
  25.     APTR    trk_Address    ;Address of object to free.
  26.     APTR    trk_Routine    ;Routine that frees the object.
  27.     LABEL    TRK_SIZEOF
  28.  
  29.   ENDC    ;SYSTEM_TRACKING_I
  30.  
  31.